Pages must sometimes be locked into memory. Pages that are used for copying a file from a device must be locked from being selected for eviction by a page replacement algorithm.